package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quwan.entity.TAdmin;
import com.quwan.manager.controller.dto.AdminDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
*
*
* @author quan
* @date 2021-08-03 17:06
*/
 

public interface TAdminMapper extends BaseMapper<TAdmin> {

    Page<AdminDto> selectAdminDtoList(Page<Map<String, String>> page,
                                          @Param("id") Long id,
                                          @Param("name") String name,
                                          @Param("beginTime") String beginTime,
                                          @Param("endTime") String endTime);

    List<AdminDto> selectAdminDtoList(@Param("id") Long id,
                                      @Param("name") String name,
                                      @Param("beginTime") String beginTime,
                                      @Param("endTime") String endTime);
}